﻿Public Class MBC_para_charItem

    Public Const _base As UShort = 0

    '系统变量
    Public Const Year_Set As UShort = 0
    Public Const Month_Set As UShort = 1
    Public Const Day_Set As UShort = 2
    Public Const Hour_Set As UShort = 3
    Public Const Minute_Set As UShort = 4
    Public Const Second_Set As UShort = 5
    Public Const Week_Set As UShort = 6

    Public Const Datalog_Sample_Time As UShort = 7
    Public Const DataLog_One_Sample_Nu As UShort = 8

    Public Const C1_System_Status As UShort = _base + 21       ' 是否含有机组选通位

    '机组运行状态；1=Autorun；2＝Stop；3＝Hand；
    Public Const C1_Rack_Run_State As UShort = 7001
    'Public Const C1_Auto_Run As UShort = _base + 22             '机组自动运行状态位
    'Public Const C1_Stop As UShort = _base + 23                '机组停止状态位
    'Public Const C1_Hand As UShort = _base + 24                '机组手动运行状态位

    Public Const C1_CP_Auto_Run_Type As UShort = _base + 25    '自动运行方式,0为按平均时间法，1为顺序法
    Public Const C1_CP_Rack_Qty As UShort = _base + 26         '机组含有压缩机头台数

    Public Const C1_CP_Switch0_Nu As UShort = _base + 27     '第0号压缩机开关接DO端口号
    Public Const C1_CP_Switch1_Nu As UShort = _base + 31      '第1号压缩机开关接DO端口号

    Public Const SC1_System_Status As UShort = _base + 91       '是否含有过冷器状态位

    Public Const C1_CP_ST_Index0 As UShort = _base + 56         '顺序法启停时该台压缩机的顺序号
    Public Const C1_CP_ST_Index1 As UShort = _base + 57         '顺序法启停时该台压缩机的顺序号
    Public Const C1_CP_ST_Index2 As UShort = _base + 58         '顺序法启停时该台压缩机的顺序号
    Public Const C1_CP_ST_Index3 As UShort = _base + 59         '顺序法启停时该台压缩机的顺序号
    Public Const C1_CP_ST_Index4 As UShort = _base + 60         '顺序法启停时该台压缩机的顺序号
    Public Const C1_CP_ST_Index5 As UShort = _base + 61         '顺序法启停时该台压缩机的顺序号

    Public Const L1_Fan_Auto_Run_Type As UShort = _base + 115   '风扇自动运行方式,0为按平均时间法，1为顺序法

    Public Const L1_Fan_Qty As UShort = _base + 116             '风扇数量


    Public Const L1_System_Status As UShort = _base + 111   '是否含有冷凝器状态位

    '冷凝器运行状态；1=Autorun；2＝Stop；3＝Hand；
    Public Const L1_Condenser_Run_State As UShort = 7010
    'Public Const L1_Auto_Run As UShort = _base + 112        '冷凝器自动运行
    'Public Const L1_Stop As UShort = _base + 113            '冷凝器停止
    'Public Const L1_Hand As UShort = _base + 114            '冷凝器手动状态

    Public Const L1_Cond_Autorun_Type As UShort = _base + 117      '冷凝控制方式

    Public Const LS1_System_Status As UShort = _base + 118      '是否含双冷凝器开关阀

    Public Const L1_Fan_ST_Index0 As UShort = _base + 126         '顺序法启停时该风扇的顺序号
    Public Const L1_Fan_ST_Index1 As UShort = _base + 127         '顺序法启停时该风扇的顺序号
    Public Const L1_Fan_ST_Index2 As UShort = _base + 128         '顺序法启停时该风扇的顺序号
    Public Const L1_Fan_ST_Index3 As UShort = _base + 129         '顺序法启停时该风扇的顺序号
    Public Const L1_Fan_ST_Index4 As UShort = _base + 130         '顺序法启停时该风扇的顺序号
    Public Const L1_Fan_ST_Index5 As UShort = _base + 131         '顺序法启停时该风扇的顺序号

    '制冷回路
    'Public Const EV_Auto_DF_Start_Type As UShort = 163      '制冷回路除霜方式(0表示用户制定时间,1表示固定间隔时间方式)
    'Public Const EV_Auto_Defross_Fan_On As UShort = 162      '制冷回路除霜时风机状态
    'Public Const EV_Defross_Stop_Type As UShort = 0      '制冷回路除霜终止方式（压力/温度）

    Public Shared ReadOnly EV_Auto_Defross_Fan_On() As UShort = {_base + 145, _base + 184}      '制冷回路除霜时风机状态
    Public Shared ReadOnly EV_Auto_DF_Start_Type() As UShort = {_base + 146, _base + 185}      '制冷回路除霜方式(0表示用户制定时间,1表示固定间隔时间方式)

    Public Shared ReadOnly EV_Defross_Stop_Type() As UShort = {_base + 147, _base + 186}      '制冷回路除霜终止方式（压力/温度）
    Public Shared ReadOnly EV_Defross_Sel_Type() As UShort = {_base + 148, _base + 187}     '制冷回路除霜方式选择：0不除霜；1自然除霜；2电加热除霜；
    Public Shared ReadOnly EV_Run_IV_Low_Time() As UShort = {_base + 149, _base + 188}     '冷风机节能运行间隔时间

    Public Shared ReadOnly EV_Temperature_QTY() As UShort = {_base + 153, _base + 192}     '温控用温度采集探头数量

    Public Shared ReadOnly EV_Temperature01_Factor() As UShort = {_base + 154, _base + 193}     '1#温度探头权重系数，0.2
    Public Shared ReadOnly EV_Temperature02_Factor() As UShort = {_base + 155, _base + 194}     '2#温度探头权重系数，0.2
    Public Shared ReadOnly EV_Temperature03_Factor() As UShort = {_base + 156, _base + 195}     '3#温度探头权重系数，0.2
    Public Shared ReadOnly EV_Temperature04_Factor() As UShort = {_base + 157, _base + 196}     '4#温度探头权重系数，0.2


    Public Shared ReadOnly EV_DeSweat_Status() As UShort = {_base + 150, _base + 189}     '是否含有防露加热丝

    Public Shared ReadOnly EV_DeSweat_Open_Time() As UShort = {_base + 151, _base + 190}     '防露加热丝开启时间，单位：分钟

    Public Shared ReadOnly EV_DeSweat_Close_Time() As UShort = {_base + 152, _base + 191}     '防露加热丝关闭时间，单位：分钟

    Public Shared ReadOnly EV_System_Status() As UShort = {_base + 141, _base + 180}     '制冷回路是否存在状态位

    '**********************************
    Public Shared ReadOnly EV_WindScreen_Status() As UShort = {_base + 211, _base + 223}     '是否含风幕机

    Public Shared ReadOnly EV_Evap_Temp_QTY() As UShort = {_base + 214, _base + 226}     '蒸发器温度探头数量
    Public Shared ReadOnly EV_Evap_Temp01_Factor() As UShort = {_base + 215, _base + 227}     '制冷回路是否存在状态位
    Public Shared ReadOnly EV_Evap_Temp02_Factor() As UShort = {_base + 216, _base + 228}     '制冷回路是否存在状态位
    Public Shared ReadOnly EV_Evap_Temp03_Factor() As UShort = {_base + 217, _base + 229}     '制冷回路是否存在状态位
    Public Shared ReadOnly EV_Evap_Temp04_Factor() As UShort = {_base + 218, _base + 230}     '制冷回路是否存在状态位

    '制冷回路运行状态；1=Autorun；2＝Stop；3＝Hand；
    Public Shared ReadOnly EV_Circuit_Run_State() As UShort = {7023, 7024}     '制冷回路手动
    'Public Shared ReadOnly EV_Auto_Run() As UShort = {_base + 142, _base + 181}     '制冷回路自动运行
    'Public Shared ReadOnly EV_Stop() As UShort = {_base + 143, _base + 182}     '制冷回路停止
    'Public Shared ReadOnly EV_Hand() As UShort = {_base + 144, _base + 183}     '制冷回路手动

End Class
